import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { TimerRecordsService } from './timer-records.service';
import { TimerRecordsController } from './timer-records.controller';
import { TimerRecord } from './entities/timer-record.entity';
import { User } from '../users/entities/user.entity';
import { OperationType } from '../operation-types/entities/operation-type.entity';

@Module({
  imports: [TypeOrmModule.forFeature([TimerRecord, User, OperationType])],
  controllers: [TimerRecordsController],
  providers: [TimerRecordsService],
  exports: [TimerRecordsService],
})
export class TimerRecordsModule {}